/*
 * 输出指定行列数的字符（4分）
 */

#include <stdio.h>

void Chline(char ch, int column, int row) {
	for (int i = 0; i < row; ++i) {
		for (int j = 0; j < column; ++j) {
			printf("%c", ch);
		}

		printf("\n");
	}
}

int main() {
	setbuf(stdout, NULL);

	char input;
	int col, row;

	printf("input a char:\n");
	scanf("%c", &input);

	printf("input column and row:\n");
	scanf("%d%d", &col, &row);

	Chline(input, col, row);

	return 0;
}